@import "./reset.less";
@import "./swiper.less";
@import "./nav.less";

body,
html {
  font-family: PingFang SC, Helvetica Neue, Helvetica, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

body {
  background-color: #fff;
  margin: 0;
  padding: 0;
  color: #666;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  width: 100%;
}

a {
  text-decoration: none;
  color: #666;
}

.a-blank {
  border: 2px solid #666;
  display: inline-block;
  height: 36px;
  line-height: 36px;
  padding: 0 16px;
  border-radius: 20px;
  font-size: 16px;
}

.container {
  max-width: 70vw;
  margin: 0 auto;
}

.header {
  @h: 64px;
  height: @h;
  background: #fff;
  width: 100%;
  z-index: 970;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
  &-container {
    position: relative;
    top: 0;
  }
  .logo {
    width: 120px;
    line-height: @h;
    font-size: 24px;
    float: left;
    margin-left: 16px;
  }
  .nav-list {
    margin: 0;
    padding: 0;
    background: transparent;
    color: #fff;
    height: @h;
    line-height: @h;
    &-item {
      float: left;
      padding: 0 20px;
    }
  }
  .nav-user {
    position: absolute;
    right: 16px;
    top: 0;
    height: @h;
    line-height: @h;
    font-size: 16px;
  }
}

.swiper-container {
  width: 100%;
  img {
    width: 100%;
  }
}

.industry {
  display: flex;
  margin: 80px auto;
  &-item {
    flex: 1;
    text-align: center;
    img {
      width: 100px;
    }
    p {
      margin: 0;
      margin-top: 16px;
    }
  }
}

.coypright {
  overflow: hidden;
  background-color: #f4f7fa;
  text-align: center;
  padding: 80px 0;
  .a-blank {
    margin-top: 80px;
  }
  &-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  &-image,
  &-content {
    width: 100%;
  }

  &-image {
    img {
      margin: 10% 10%;
      width: 80%;
    }
  }
  &-content {
    margin-top: 10%;
    h1 {
      text-align: center;
    }
    &-list {
      margin: 0 auto;
      padding: 0;
      width: 400px;
      li {
        list-style: none;
        display: flex;
        align-items: center;
        text-align: left;

        img {
          width: 100px;
          margin-right: 24px;
        }
      }
    }
  }
}

.supply {
  margin: 80px auto;
  h1 {
    text-align: center;
    margin-bottom: 54px;
  }
  &-list {
    display: flex;
  }
  &-item {
    flex: 1;
    text-align: center;
    img {
      width: 100px;
      margin-bottom: 12px;
    }
  }
}

.channel {
  overflow: hidden;
  background-color: #f4f7fa;
  text-align: center;
  padding: 80px 0;
  h1 {
    text-align: center;
    margin-bottom: 54px;
  }
  &-container {}
  &-list {
    display: flex;
  }
  &-item {
    flex: 1;
    text-align: center;
    img {
      width: 100px;
      margin-bottom: 12px;
    }
  }
}

.event {
  position: relative;
  text-align: center;
  @s: 800px; 
  &-title{
    display: none;
  }
  &-container {
    width: @s;
    margin: 0 auto;
  }
  &-list {
    display: flex;
    flex-wrap: wrap;
  }
  &-item {
    width: 50%;
    height: @s/2;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    h1 {
      color: #80c2c1;
    }
  }
  .hr-left:before {
    content: "";
    width: 1px;
    height: 40%;
    position: absolute;
    left: 0;
    top: 30%;
    background-color: #aaa;
  }
  .hr-top:after {
    content: "";
    width: 40%;
    height: 1px;
    position: absolute;
    right: 30%;
    top: 0;
    background-color: #aaa;
  }
  img {
    @w: 140px;
    width: @w;
    height: @w;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -@w/2;
    margin-top: -@w/2;
  }
}

footer{
  text-align: center;
  span{
    font-size: 12px;
    padding: 12px;
    color: #999;
    line-height: 24px;
  }
}
@media screen and (max-width:768px){
  .container{
    width: 100vw;
    max-width: 100vw;
    
  }
    .coypright-image img{
      width: 100%;
      margin: 0;
    }
    .coypright-content-list{
      width: 100%;
      li{
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        img{
          margin: 0;
        }
      }
     
  
    }
    .footer-title{
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
    }
    footer {
      margin-top: 20px;
      span{
        padding: 0;
      }
    }
  .event {
    img{
      display: none;
    }
    &-title{
      display: block;
      margin-top:  2rem;
      font-size: 2.5rem;
      font-weight: 500;
    }
    &-container{
      width: 80vw;
      margin: 0 auto;
      text-align: center;
    }
    &-item{
      width: 100%;
      height: 30vw;
    }
    &-list{
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-content: center;
    }
    .hr-left:before{
      width: 0;
    }
    .hr-top:after{
      width: 0;
    }
  }
    

}